<body>
  <!-- Header -->
	<div id="header">
  	<!-- Shell -->	
    <div class="shell">
  		<h1 class="h1-home"> 
        	<a id="blind" class="login" href="#">
			<div class="login">       	
            	<div class="log-menu ico-pass">Member Menu</div>
                <div class="log-menu ico-go">&nbsp;</div>
            </div>
			</a>
            <?php 
            if($loginAkses=="")
            {
            ?>
	            <!-- form for login member -->
	            <div id="login-boxouter">
	            	<div id="login-box">
	                    <div id="login-form">
	                        <div class="h2">.: Login Form</div>
	                            <form name="frm_login" id="frm_login" action="" method="post">
	                                <label id="uname">NIM : </label>
	                                	<input name="u_name" id="u_name" type="text" class="fieldbox boxstyle-15"/><br />
	                                <label>Password: </label>
	                                	<input name="u_pass" id="u_pass" type="password" class="fieldbox boxstyle-15"/><br />
	                                <label>Login as: </label>
	                                	<select name="u_kat" id="u_kat" class="fieldbox boxstyle-15">
	                                    	<option value="Siswa">Mahasiswa</option>
	                                    	<option value="Guru">Dosen</option>
	                                	</select><br />
	                                <div class="cl">&nbsp;</div>
	                                <input type="hidden" name="u_init" id="u_init" value="login">
	                                <input type="submit" class="login-submit" value="Login" />
	                                <div class="cl">&nbsp;</div>
	                                <div class="login-opt"><a href="#">Lupa Password ?</a></div>                        
	                            </form>
	                            <script type="text/javascript">
		                            $("#u_kat").change(function(){
		                                if($(this).val()=="Siswa")
		                                {
		                                    $("#uname").html("NIS : ");
		                                }
		                                else
		                                {
		                                    $("#uname").html("NIK : ");
		                                }
		                            });
	                            </script>
	                    </div>
	                </div>
	            </div>
	            <!-- end form for login member -->
            <?php 
            }
            elseif($loginAkses=="siswa")
            {
            	if(count($loginInfo)>0)
            	{
            ?>
	            <!-- form after login member -->
	            <div id="login-boxouter">
	            	<div id="login-box">
	                    <div id="login-form">
	                        <div class="h2 ico-alumni">Selamat Datang
<!-- 
	                        <u><?php echo $loginInfo[0]['nama']?></u></div>
-->
	                        <div id="login-info">
							<div class="cols">
	                        	<div class="col6">
	                            	<img src="<?php echo $loginInfo[0]['photo']?>" />
	                            </div>
	                            
	                        	<div class="col7">
	                                <div class="h2-info idcolor"><?php echo $loginInfo[0]['nim']?></div>
	                                <div class="h2-info"><?php echo $loginInfo[0]['nama']?></div>
<!-- 
	                                <div class="h2-info">XII IPA</div>
-->
	                            </div>                            
	                        </div>
	                        <div class="cl-10">&nbsp;</div>
	                        <div class="id-opt"><a class="link-5" href="<?php echo $baseUrlSave?>siswa">Menu Utama</a></div>
	                        <span>&nbsp;</span>
	                        <div class="id-opt"><a class="link-5" href="<?php echo $baseUrlSave?>logout">Logout</a></div>                          
	                        </div>
	                    </div>
	                </div>
	            </div>
	            <!-- end form after login member -->  
	        <?php 
            	}
            }
            elseif($loginAkses=="dosen")
            {
            	if(count($loginInfo)>0)
            	{
            ?>
	            <!-- form after login member -->
	            <div id="login-boxouter">
	            	<div id="login-box">
	                    <div id="login-form">
	                        <div class="h2 ico-alumni">Selamat Datang
<!-- 
	                        <u><?php echo $loginInfo[0]['nama']?></u></div>
-->
	                        <div id="login-info">
							<div class="cols">
	                        	<div class="col6">
	                            	<img src="<?php echo $loginInfo[0]['photo']?>" />
	                            </div>
	                            
	                        	<div class="col7">
	                                <div class="h2-info idcolor"><?php echo $loginInfo[0]['kode_dosen']?></div>
	                                <div class="h2-info"><?php echo $loginInfo[0]['nama']?></div>
<!-- 
	                                <div class="h2-info">XII IPA</div>
-->
	                            </div>                            
	                        </div>
	                        <div class="cl-10">&nbsp;</div>
	                        <div class="id-opt"><a class="link-5" href="<?php echo $baseUrlSave?>dosen">Menu Utama</a></div>
	                        <span>&nbsp;</span>
	                        <div class="id-opt"><a class="link-5" href="<?php echo $baseUrlSave?>logout">Logout</a></div>                          
	                        </div>
	                    </div>
	                </div>
	            </div>
	            <!-- end form after login member -->  
	        <?php 
            	}
            }
            ?>          
            <a id="logo" href="./index.html">  
            	<center>                     
            	<!-- Sistem informasi sma -->
                <img class="logo-src" src="<?php echo $logo_sekolah;?>" />
                <p><?php echo $nama_sekolah?></p><br />
                <p class="motto"><?php echo $moto_sekolah?></p>
                </center>
           	</a>
        </h1>
		<div class="right-part">
  
			<form  id="search" action="" method="post">
				<div class="bg">
				</div>
  			</form>
			<div id="header-nav"> 
			<a href="<?php echo $baseUrlSave?>maps">Maps</a> | 
<!-- 		<a href="<?php echo $baseUrlSave?>peta_situs">Peta Situs</a> | -->
			<a href="<?php echo $baseUrlSave?>support">Support Online</a> | 
			<a href="<?php echo $baseUrlSave?>kontak">Kontak</a> </div>  			
  		</div>